<html><head><title>ValD</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">ValD()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result.d = <font color="#3A3966"><b>ValD</b></font>(String$)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Converts a string into a double value. The string must be a double in 
decimal or in scientific (exponent) format. The number parsing stops at the first non numeric character. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>String$</i></td>
<td width="90%"> 
The string to convert. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

The double value of the string. 

</blockquote><p><b>Remarks</b></p><blockquote>

Strings holding an integer can also be converted with <a href="val.html">Val()</a>, and 32-bit floats with <a href="valf.html">ValF()</a> (with less accuracy than <a href="vald.html">ValD()</a>). 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">ValD</font>(&quot;10.000024&quot;) <font color="#3A3966">; will display 10.000024</font>
  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">ValD</font>(&quot;1.2345e-2&quot;) <font color="#3A3966">; will display  0.012345</font>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="valf.html">ValF()</a>, <a href="val.html">Val()</a>, <a href="str.html">Str()</a>, <a href="strf.html">StrF()</a>, <a href="strd.html">StrD()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=val.html>Val()</a> - <a href="index.html">String Index</a> - <a href="valf.html">ValF()</a> -><br><br>

</body></html>